/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufpe.cin.dmo4.middleware.client;

import br.ufpe.cin.dmo4.middleware.remotingerrors.RemotingError;

/**
 *
 * @author Danilo
 */
public class Response {
    private Object response;
    private RemotingError error;

    public Response(Object response) {
        this.response = response;
        this.error = null;
    }

    public RemotingError getError() {
        return error;
    }

    public Object getResponse() {
        return response;
    }

    public void setError(RemotingError error) {
        this.error = error;
    }  
        
}
